package net.oschina.app.protocol.me_follow;

import net.oschina.app.base.BaseProtocol;
import net.oschina.app.bean.AttentionBean;

import retrofit2.Call;

/**
 * Created by elf on 2017/1/14.
 */

public class FollowProtocol extends BaseProtocol<AttentionBean> {
    private String uid = "3226664";
    private String mPageIndex = "0";
    private String pageSize = "20";
    private String mRelation = "1";

    public FollowProtocol(String relation) {
        mRelation = relation;
    }

    @Override
    protected Call<AttentionBean> getCall(String pageIndex) {
        return mApiService.getAttentionBean(uid,mPageIndex,pageSize,mRelation);
    }

    @Override
    protected AttentionBean parserDatas(String data) {
        return null;
    }

    @Override
    protected String getIndex() {
        return "0";
    }

    @Override
    protected String getType() {
        return "friends_list1";
    }
}
